You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TDenseMtxVec Class > TDenseMtxVec Methods > AddScaled Method > TDenseMtxVec.AddScaled Method ([In] TMtxVec, [In] double, [In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TDenseMtxVec.AddScaled Method ([In] TMtxVec, [In] double, [In] double)

Add each of Vec elements to corresponding elements in the calling object.

Syntax
C#
Visual Basic
public TMtxVec AddScaled([In] TMtxVec Vec, [In] double RScale, [In] double IScale);

In addition, the following formula is being used: 

result = result+ Cplx(RScale,IScale)*Vec . 

When default values for parameters are being used the "normal" addition is being performed. The results are stored in the calling object. Size and TMtxVec.Complex properties of the calling object are set implicitly to match the Vec object.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!